import styled from 'styled-components'
import border from '@/assets/styled/border'

const ClassifyWray = border(
  styled.div `
    width: 100%;
    height: 100%;
    position: absolute !important;
    top: 0;
    left: 0;
    display: flex;
    > ul:first-child {
      flex: 90;
      overflow-y: scroll;
      li {
        height: .5rem;
        line-height: .5rem;
        text-align: center;
        &.active {
          background-color: #fff;
          color: #ee742f;
          position: relative;
          span {
            display: inline-block;
            height: 100%;
            border-bottom: solid 2px #ee742f;
          }
        }
      }
    }
    > ul:last-child {
      flex: 285;
      background-color: #fff;
      display: flex;
      flex-wrap: wrap;
      align-content: flex-start;
      padding: .1rem 0;
      overflow-y: scroll;
      li {
        width: 33.333333%;
        line-height: .5rem;
        text-align: center;
      }
    }
  `
)

export {
  ClassifyWray
}